package com.bblocks.dbmonitor.annotation;

import com.bblocks.dbmonitor.config.MonitorConfig;
import com.bblocks.dbmonitor.handler.DefaultCanalEntryHandler;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启动db数据更新监控
 */
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({/*DefaultCanalEntryHandler.class,*/MonitorConfig.class})
public @interface EnableDbMonitor {
}
